﻿namespace S.PurchaseAndSales.Read.Api.Dto
{
    /// <summary>
    /// 分页泛型
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Pager<T> where T : class, new()
    {
        /// <summary>
        /// 总条数
        /// </summary>
        public int TotalCount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }
        /// <summary>
        /// 所有数据
        /// </summary>

        public List<T>? ResultData { get; set; }
    }
}
